package lzc;
import java.util.Scanner;

public class Format {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        double a = in.nextDouble();
        int b = in.nextInt();
        String c = in.next();
        double d = in.nextDouble();
        System.out.printf("%s "+"%d "+"%.2f "+ "%.2f",c,b,a,d);
    }
}